﻿using Common.Utility;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Interface.WanX.DTO.Turbo
{
    public class TurboRequest
    {
        [JsonProperty("model")]
        public string Model { get; set; } = AppSetting.GetAppSetting("WanX:Turbo:Model");

        [JsonProperty("input")]
        public TurboInput Input { get; set; }

        [JsonProperty("parameters")]
        public TurboParameters Parameters { get; set; } = new TurboParameters();

    }
    public class TurboInput
    {
        [JsonProperty("prompt")]
        public string Prompt { get; set; }

        [JsonProperty("negative_prompt")]
        public string ReqKey { get; set; } = "";

    }
    public class TurboParameters
    {
        [JsonProperty("n")]
        public int N { get; set; } = 1;

    }
}
